//
//  CouponDetailHV.m
//  penzer
//
//  Created by 还带大道 on 2018/11/9.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "CouponDetailHV.h"

@interface CouponDetailHV()
@property (weak, nonatomic) IBOutlet UILabel *sn;
@property (weak, nonatomic) IBOutlet UILabel *time_xd;

@end

@implementation CouponDetailHV

+ (instancetype)shareView
{
    return [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil].lastObject;
}

- (void)awakeFromNib
{
    [super awakeFromNib];
}


- (void)layoutSubviews
{
    [super layoutSubviews];
    _sn.text = @"订单号：18754899654";
    _time_xd.text = @"下单时间：2018.09.20 14:20";
}

- (IBAction)onClickComment{
    !self.commentBlock?:self.commentBlock();
}

@end
